package com.nbk.composition.dao.bean

import com.baomidou.mybatisplus.annotation.IdType
import com.baomidou.mybatisplus.annotation.TableId
import com.baomidou.mybatisplus.annotation.TableName

/**
 * Author:  LuoHaoLun
 * Email :  506503279@qq.com
 * Date  :  2021/5/24
 */
@TableName(value = "student_user", autoResultMap = true)
data class Student(
@TableId(type = IdType.AUTO)
var id: Int = 0,
var name: String = "",
var grade: String = "",
var phone: String = "",
var password: String = "",
var sex: String = "",
var age: String = "",
var birthday: String = "", // TODO 生日算年龄比较好
var device: String = "",
var avatar: String = "",
var createTime: String = ""
)